package com.example.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.TestEntity;
import com.example.demo.vo.TestVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TestService {

    List<TestEntity> getAll();

    Object getOne(int i);

    IPage<TestEntity> selectByPage(Page<TestEntity> page, TestVo condition);

    Object testPage1(Page<TestEntity> page, TestVo testVo);

    Object add(TestEntity testEntity);

    Object update(TestEntity testEntity);

    String a();

}
